package io.renren.dao;

import io.renren.entity.SendPacketEntity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;

/**
 * 当前发包表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-09-12 13:56:13
 */
public interface SendPacketDao extends BaseMapper<SendPacketEntity> {
	/**
	 * 分页查询我参与的红包
	 * 
	 * @param page
	 * @param id
	 * @return
	 */
	List<SendPacketEntity> myPacketPage(Pagination page, @Param("memberId") Long id);
}
